package com.zb.mobile.service.impl;

import com.zb.mobile.service.MobileSelectService;
import com.zb.result.PageUtil;
import com.zb.service.ViewGoodsService;
import com.zb.vo.OrderGoodsSelectVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

/**
 * @Author WEN
 * @Date 2023/11/8 0008
 **/
@Service
public class MobileSelectServiceImpl implements MobileSelectService {
    @Resource
    private ViewGoodsService viewGoodsService;


    // 获取报单商品列表
    @Override
    public Map<String, Object> getGoodsList(Long custAccId, OrderGoodsSelectVo goodsSelectVo) {
        PageUtil.setPageLimitMobile(goodsSelectVo);
        return viewGoodsService.getOrderProduct(custAccId, goodsSelectVo);
    }
}
